<?php
declare (strict_types = 1);

namespace app\validate\admin;

use think\Validate;

class AdminBindRoleValidate extends Validate
{
    protected $field = [
        'admin_user_id'     => '管理员',
        'admin_role_id'     => '角色',
    ];

    protected $rule = [
        'admin_user_id'     => 'require|integer|gt:0',
        'admin_role_id'     => 'require|integer|gt:0',
    ];

    protected $message = [];
}
